package com.fengjue.service;

import com.fengjue.common.RespBean;
import com.fengjue.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fengjue
 * @since 2021-03-10
 */
public interface IDepartmentService extends IService<Department> {

    List<Department> getAllDepartments();


    RespBean addDep(Department dep);


    RespBean deleteDep(Integer id);
}
